<template>
	<view>
		<!-- 开头部分 -->
		<uni-nav-bar dark background-color="#2477f4" title="订单支付" :border="false" left-icon="left"
			@clickLeft="back"></uni-nav-bar>
		<view class="bc"></view>
		<view class="body">
			<image src="/static/对 拷贝.png"></image>
			<view>支付成功</view>
			<view>39.90</view>
			<view>预约编号：324252536363634</view>
			<button @click="goHome">返回首页</button>
			<button @click="details">订单详情</button>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {
			back() {
				uni.navigateBack();
			},
			goHome(){
				uni.navigateTo({
					url:"/packageWash/pages/washList/washList"
				})
			},
			details(){
				uni.navigateTo({
					url:"/packageWash/pages/orderDetails/orderDetails"
				})
			}
		}
	}
</script>

<style>
	.navigation-bar {
		height: 100rpx;
		display: flex;
		align-items: center;
		background-color: #287BF6;
	}

	/* 开头部分样式开始 */
	.bc {
		width: 750rpx;
		height: 300rpx;
		position: relative;
		border-top: 2rpx solid #2477f4;
		background-color: #2477f4;
	}

	.body {
		top: 108rpx;
		background-color: #FFF;
		border-radius: 10px;
		margin: 0 20rpx;
		margin-top: 20rpx;
		padding-top: 20rpx;
		padding-bottom: 80rpx;
		position: absolute;
	}

	.body>image {
		width: 150rpx;
		height: 150rpx;
		margin: 0 280rpx;
		margin-top: 50rpx;
	}

	.body>view:nth-child(2) {
		padding-top: 10rpx;
		font-weight: bold;
		text-align: center;
		font-size: 32rpx;
	}

	.body>view:nth-child(3) {
		text-align: center;
		margin: 50rpx 0;
		font-size: 60rpx;
		font-weight: bold;
	}

	.body>view:nth-child(4) {
		text-align: center;
		margin: 50rpx 0;
		font-size: 25rpx;
		/* font-weight: bold; */
	}

	.body>button:nth-child(5) {
		width: 500rpx;
		border-radius: 20px;
		height: 70rpx;
		line-height: 70rpx;
		color: #FFF;
		background-color: #0D65E8;
		font-size: 28rpx;
	}

	.body>button:nth-child(6) {
		width: 500rpx;
		border-radius: 20px;
		margin-top: 40rpx;
		height: 70rpx;
		line-height: 70rpx;
		color: #FFF;
		background-color: #BFBFBF;
		font-size: 28rpx;
	}
</style>